package com.web.exiaodao.remote.vo;

import com.web.webstart.base.constant.XaConstant;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @author eason.zt
 * @ClassName: NewsVo
 * @Description:咨询 Vo
 * @date 2015年3月23日 下午1:00:00
 */
@ApiModel(value = "咨询Vo对象")
public class NewsVo {

    @ApiModelProperty(value = "主键，自动增长")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "标题,咨询新闻-标题")
    private String title;
    @ApiModelProperty(value = "咨询来源,咨询来源")
    private String source;
    @ApiModelProperty(value = "咨询缩略图,咨询缩略图thumbnail")
    private String thumbnail;
    @ApiModelProperty(value = "内容,图文混排的内容,content")
    private String content;
    @ApiModelProperty(value = "是否是热点,是否是热点,默认false")
    private Boolean isHot;
    /**
     * 类型是活的，see
     * {@link com.web.exiaodao.business.entity.Category}
     */
    @ApiModelProperty(value = "类别:2：展会，3：政策，4：国际，5:电子书")
    private Long type;

    @ApiModelProperty(value = "规格种类;规格种类")
    private CategoryVo categoryVo;

    /**
     * 参加 {@link XaConstant.Status}
     */
    @ApiModelProperty(value = "状态，0为无效，1为正常,2为发布,3删除 参看XaConstant.Status")
    private Integer status;

    public NewsVo(Long id, String title, String publishDate, String source, String thumbnail, String content, Boolean isHot, Long type) {
        this.id = id;
        this.title = title;
        this.source = source;
        this.thumbnail = thumbnail;
        this.content = content;
        this.isHot = isHot;
        this.type = type;
    }

    public NewsVo() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSource() {
        return source;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setIsHot(Boolean isHot) {
        this.isHot = isHot;
    }

    public Boolean getIsHot() {
        return isHot;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getType() {
        return type;
    }

    public Boolean getHot() {
        return isHot;
    }

    public void setHot(Boolean hot) {
        isHot = hot;
    }

    public CategoryVo getCategoryVo() {
        return categoryVo;
    }

    public void setCategoryVo(CategoryVo categoryVo) {
        this.categoryVo = categoryVo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}

